﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MiniScrum.Models
{
    public class UserRolesModel
    {
        public UserRolesModel() { }

        public UserRolesModel(List<Role> roles, IList<string> selected, User user)
        {
            // TODO: Complete member initialization
            this.Roles = roles;
            this.Selected = selected;
            this.UserId = user.Id;
        }
        public int UserId { get; set; }
        public IEnumerable<string> Selected { get; set; }
        public IEnumerable<Role> Roles { get; set; }
    }
}